<?php

/** @noinspection PhpMissingFieldTypeInspection */

/** @noinspection PhpUndefinedClassInspection */
/** @noinspection PhpUnused */
/** @noinspection PhpMissingParamTypeInspection */
/** @noinspection PhpMissingDocCommentInspection */

namespace DreamCat\Array2Class\Demo\Inner;

use DreamCat\Array2Class\Demo\SimpleBuilder;
use DreamCat\Array2Class\PlainOBjectFactory;
use JetBrains\PhpStorm\Pure;

class Pojo3 implements PlainOBjectFactory
{
    use SimpleBuilder;

    /**
     * @var string 名称
     */
    private string $name;
    private $noTip;
    private ?array $mixed;
    /** @var errorTip */
    private errorTip $errorTip;

    /**
     * 创建一个简单对象
     * @return static 对象
     */
    #[Pure]
    public static function createPlainOBjectFactory(): PlainOBjectFactory
    {
        return new Pojo3();
    }
}

# end of file
